<?php session_start(); 
global $raiz;

echo "
<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">
<html>
<head>
<meta http-equiv=\"Content-type\">
<title>CRC</title>";
if ($_SESSION["tipo_usuario"]=="Administrador"){
	
	echo "<link rel=\"stylesheet\" href=\"{$raiz}geral/css/menu/menu_style.css\" type=\"text/css\" />
	<link rel=\"stylesheet\" type=\"text/css\" href=\"{$raiz}geral/flexigrid/css/flexigrid/flexigrid.css\" />
	<script language=\"javascript\" src=\"{$raiz}geral/Ajax/Ajax.js\"></script>
	<script language=\"javascript\" src=\"{$raiz}geral/Ajax/instrucao.js\"></script>
	<script language=\"javascript\" src=\"{$raiz}geral/js/jquery-1.2.6.pack.js\"></script>
	<script type=\"text/javascript\" src=\"{$raiz}geral/js/scripts.js\"></script>
	<script type=\"text/javascript\" src=\"{$raiz}geral/flexigrid/lib/jquery/jquery.js\"></script>
	<script type=\"text/javascript\" src=\"{$raiz}geral/flexigrid/flexigrid.js\"></script>
	</head>";

}
else if ($_SESSION["tipo_usuario"]=="Usuario"){
	
	echo "<link rel=\"stylesheet\" href=\"/crc/geral/css/menu/menu_style.css\" type=\"text/css\" />
	<link rel=\"stylesheet\" type=\"text/css\" href=\"/crc/geral/flexigrid/css/flexigrid/flexigrid.css\" />
	<link href=\"/crc/visao/historico/historico.css\" rel=\"stylesheet\" type=\"text/css\"/>
	<script language=\"javascript\" src=\"/crc/geral/Ajax/Ajax.js\"></script>
	<script language=\"javascript\" src=\"/crc/geral/Ajax/instrucao.js\"></script>
	<script type=\"text/javascript\" src=\"/crc/geral/js/scripts.js\"></script>
	<script type=\"text/javascript\" src=\"/crc/geral/flexigrid/lib/jquery/jquery.js\"></script>
	<script type=\"text/javascript\" src=\"/crc/geral/flexigrid/flexigrid.js\"></script>
	<script type=\"text/javascript\" src=\"/crc/geral/js/configFeed.js\"></script>
	<script type=\"text/javascript\" src=\"/crc/geral/js/leitorFeed.js\"></script>
	<script type=\"text/javascript\" src=\"/crc/geral/js/jquery.highlightFade.js\"></script>
	<script type=\"text/javascript\" src=\"/crc/visao/historico/scripts/jcarousel.js\"></script>
	<script type=\"text/javascript\" src=\"/crc/visao/historico/scripts/jcarousel_function.js\"></script>
	</head>
	<body onload=\"mostrarEventos();ativarAlarm();\">";

}


?>